laravel date validation

29

if any error in blade laravel -

 @if ($errors->any())
     @foreach ($errors->all() as $error)
         <div>{{$error}}</div>
     @endforeach
 @endif

Laravel validation date -

'start_date' => 'required|date|after:tomorrow'

Comments

Submit
0 Comments